﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BLL.Model
{
    public class MenuPower
    {
        public MenuPower()
        { }
        #region Model
        private string _powercode;
        private string _powername;
        private string _parentcode;
        private int? _indexnum;
        private bool _isleaf = false;
        private bool _isactive = false;
        private string _menucode;
        private int? _powerlevel;
        private string _iconname;
        /// <summary>
        /// 权限标识
        /// </summary>
        public string powerCode
        {
            set { _powercode = value; }
            get { return _powercode; }
        }
        /// <summary>
        /// 权限名称
        /// </summary>
        public string powerName
        {
            set { _powername = value; }
            get { return _powername; }
        }
        /// <summary>
        /// 上级标识根节点Root
        /// </summary>
        public string parentCode
        {
            set { _parentcode = value; }
            get { return _parentcode; }
        }
        /// <summary>
        /// 行标识
        /// </summary>
        public int? indexNum
        {
            set { _indexnum = value; }
            get { return _indexnum; }
        }
        /// <summary>
        /// 是否叶子节点
        /// </summary>
        public bool isLeaf
        {
            set { _isleaf = value; }
            get { return _isleaf; }
        }
        /// <summary>
        /// 是否可用
        /// </summary>
        public bool isActive
        {
            set { _isactive = value; }
            get { return _isactive; }
        }
        /// <summary>
        /// 关联菜单的标识
        /// </summary>
        public string menuCode
        {
            set { _menucode = value; }
            get { return _menucode; }
        }
        /// <summary>
        /// 菜单级别
        /// </summary>
        public int? powerLevel
        {
            set { _powerlevel = value; }
            get { return _powerlevel; }
        }
        /// <summary>
        /// 图标名称
        /// </summary>
        public string iconName
        {
            set { _iconname = value; }
            get { return _iconname; }
        }
        #endregion Model
    }
}
